package com.hudilao.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "hudilao.jwt")
public class JwtProperties {
    //用户端微信用户生成jwt令牌相关配置
    private String customerSecretKey;
    private long customerTtl;
    private String customerTokenName;

    public void setCustomerSecretKey(String customerSecretKey) {
        this.customerSecretKey = customerSecretKey;
    }

    public void setCustomerTtl(long customerTtl) {
        this.customerTtl = customerTtl;
    }

    public void setCustomerTokenName(String customerTokenName) {
        this.customerTokenName = customerTokenName;
    }

    public String getCustomerSecretKey() {
        return customerSecretKey;
    }

    public long getCustomerTtl() {
        return customerTtl;
    }

    public String getCustomerTokenName() {
        return customerTokenName;
    }
}
